//
//  TabbarViewController.swift
//  CustomSwiftProject
//
//  Created by 岚海网络 on 2019/4/8.
//  Copyright © 2019 ljm. All rights reserved.
//

import UIKit

class TabbarViewController: UITabBarController {
    override func viewDidLoad() {
        super.viewDidLoad()
    }
    
    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)
        
        if !UserCenter.shareInstance.hasLogin() {
            let loginVc = LoginViewController()
            self.present(loginVc, animated: true, completion: nil)
            
        }
    }
    
}
